package com.eight.lotteryservice.config;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class MsgBean {

    @ApiModelProperty(value = "状态码（-1=异常，0=业务不成功，1=业务成功）",required = true)
    int id;
    @ApiModelProperty(value = "信息",required = true)
    String prize;



    public MsgBean(int id, String prize) {
        this.id = id;
        this.prize = prize;
    }
}
